<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ tag language="java"%>
<%@ attribute name="onload" required="true" type="java.lang.Boolean"%>
<%@ attribute name="text" required="true" type="java.lang.String"%>
<%@ attribute name="layout" required="false" type="java.lang.String"%>
<%@ attribute name="animateOpen" required="false" type="java.lang.String"%>
<%@ attribute name="animateClose" required="false" type="java.lang.String"%>
<%@ attribute name="easing" required="false" type="java.lang.String"%>
<%@ attribute name="type" required="false" type="java.lang.String"%>
<%@ attribute name="speed" required="false" type="java.lang.Integer"%>
<%@ attribute name="timeout" required="false" type="java.lang.String"%>
<%@ attribute name="closeButton" required="false" type="java.lang.Boolean"%>
<%@ attribute name="closeOnSelfClick" required="false" type="java.lang.Boolean"%>
<%@ attribute name="closeOnSelfOver" required="false" type="java.lang.Boolean"%>
<%@ attribute name="force" required="false" type="java.lang.Boolean"%>
<%@ attribute name="onShow" required="false" type="java.lang.String"%>
<%@ attribute name="onClose" required="false" type="java.lang.String"%>
<%@ attribute name="buttons" required="false" type="java.lang.String"%>
<%@ attribute name="modal" required="false" type="java.lang.Boolean"%>
<%@ attribute name="template" required="false" type="java.lang.String"%>
<%@ attribute name="cssPrefix" required="false" type="java.lang.String"%>
<%@ attribute name="custom" required="false" type="java.lang.String"%>
<script type="text/javascript">
	<c:if test="${onload}">
	$(document).ready(function(){
	</c:if>
	var id = noty({
<c:if test="${!empty layout }">layout : "${layout }",</c:if>
<c:if test="${!empty theme }">theme : "${theme }",</c:if>
<c:if test="${!empty animateOpen }">animateOpen : ${animateOpen },</c:if>
<c:if test="${!empty animateClose }">animateClose : ${animateClose },</c:if>
<c:if test="${!empty easing }">easing : "${easing }",</c:if>
<c:if test="${!empty type }">type : "${type }",</c:if>
<c:if test="${!empty speed }">speed : ${speed },</c:if>
<c:if test="${!empty timeout }">timeout : ${timeout },</c:if>
<c:if test="${!empty closeButton }">closeButton : ${closeButton },</c:if>
<c:if test="${!empty closeOnSelfClick }">closeOnSelfClick : ${closeOnSelfClick },</c:if>
<c:if test="${!empty closeOnSelfOver }">closeOnSelfOver : ${closeOnSelfOver },</c:if>
<c:if test="${!empty force }">force : ${force },</c:if>
<c:if test="${!empty onShow }">onShow : ${onShow },</c:if>
<c:if test="${!empty onClose }">onClose : ${onClose },</c:if>
<c:if test="${!empty modal }">modal : "${modal }",</c:if>
<c:if test="${!empty template }">template : "${template }",</c:if>
<c:if test="${!empty cssPrefix }">cssPrefix : "${cssPrefix }",</c:if>
<c:if test="${!empty custom }">custom : ${custom },</c:if>
<c:if test="${!empty buttons }">buttons : ${buttons },</c:if>
			text:"${text }"
		});
	<c:if test="${onload}">
	});
	</c:if>
</script>